package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * mateDao收益列表通用字段集合
 */
@Data
public class MaTeUserMangeDaoGeneralEarningsListVO {
    @ApiModelProperty("手机号")
    private String userTel;
    @ApiModelProperty("账号状态")
    private Integer isFreeze;
    @ApiModelProperty("身份")
    private String levelName;
    @ApiModelProperty("消费金额")
    private BigDecimal holdToken;

    public void setHoldToken(BigDecimal holdToken) {
        this.holdToken = holdToken.stripTrailingZeros();
    }
}
